package com.yk.framework.gui.wf.ui.bean;

import java.util.List;
import java.util.UUID;

import com.yk.framework.entity.impl.CoreBaseInfo;

/**
 * @author lifetime
 * 
 */
public class AuditNodeBean extends CoreBaseInfo {

	public AuditNodeBean() {
		put("id", UUID.randomUUID().toString());
		setPass("false");
		setRuning("false");
	}

	public String getNodeType() {
		return getString("nodeType");
	}

	public void setNodeType(String nodeType) {
		put("nodeType", nodeType);
	}

	public String isPass() {
		return getString("isPass");
	}

	public void setPass(String value) {
		put("idPass", value);
	}

	public String isRuning() {
		return getString("isRuning");
	}

	public void setRuning(String value) {
		put("isRuning", value);
	}

	public String getNodeName() {
		return getString("nodeName");
	}

	public void setNodeName(String nodeName) {
		put("nodeName", nodeName);
	}

	public String getNodeIconName() {
		return getString("nodeIconName");
	}

	public void setNodeIconName(String nodeIconName) {
		put("nodeIconName", nodeIconName);
	}

	public String getLabelBounds() {
		return getString("labelBounds");
	}

	public void setLabelBounds(String labelBounds) {
		put("labelBounds", labelBounds);
	}

	public boolean isHuiQian() {
		return getBoolean("isHuiQian");
	}

	public void setHuiQian(boolean isHuiQian) {
		put("isHuiQian", isHuiQian);
	}

	public boolean isIsNode() {
		return getBoolean("isNode");
	}

	public void setIsNode(boolean isNode) {
		put("isNode", isNode);
	}

	/**
	 * 
	 * @return
	 */
	@SuppressWarnings("unchecked")
	public List<String> getDefaultInPeoples() {
		return (List<String>) get("defaultInPeoples");
	}

	public void setDefaultInPeoples(List<String> defaultInPeoples) {
		put("defaultInPeoples", defaultInPeoples);
	}

	public String getRuntimeInPeoplesScript() {
		return getString("runtimeInPeoplesScript");
	}

	public void setRuntimeInPeoplesScript(String runtimeInPeoplesScript) {
		put("runtimeInPeoplesScript", runtimeInPeoplesScript);
	}

	public String getMessage() {
		return getString("message");
	}

	public void setMessage(String message) {
		put("message", message);
	}

	public String getId() {
		return getString("id");
	}

	public void setId(String id) {
		put("id", id);
	}

}
